﻿using System.Configuration;

namespace SharpCommon.Data.Configuration
{
    internal class DataBaseTypeConfigurationElement : ConfigurationElement
    {
        [ConfigurationProperty("FullName", DefaultValue = DataBaseDefaultConfiguration.FullName, IsKey = true, IsRequired = true)]
        public string FullName
        {
            get { return (string)base["FullName"]; }
            set { base["FullName"] = value; }
        }

        [ConfigurationProperty("Namespace", DefaultValue = DataBaseDefaultConfiguration.Namespace, IsKey = false, IsRequired = true)]
        public string Namespace
        {
            get { return (string)base["Namespace"]; }
            set { base["Namespace"] = value; }
        }
    }
}
